import { _decorator, Component, Node, director, UITransform, Widget } from 'cc';
import { GameData } from '../Data/GameData';
const { ccclass, property } = _decorator;

@ccclass('LoadUI')
export class LoadUI extends Component {

    start() {
        // this.LoadLarge();
        this.LoadSmall();
    }

    LoadSmall() {
        this.scheduleOnce(() => {
            this.LoadScene();
        }, 3);
    }

    LoadScene() {
        director.loadScene(GameData.scene);
    }
}

